<!--
<style type="text/css">
.paginationControl{ margin:0; padding:0; background:#FFF; color:#333; font:12px/1.6em Helvetica, Arial, sans-serif;}

.paginationControl a{ color:#0063DC; text-decoration:none; }
.paginationControl a:hover{text-decoration:underline; }
.disabled{display:none;}
.paginationControl { height:25px; overflow:hidden; text-align:center; line-height:25px; font-family:Verdana; }
.paginationControl a, .paginationControl strong { margin:0 1px; padding:2px 6px; border:1px solid #E4E4E4; text-decoration:none!important; }
.paginationControl a:hover { border-color:#369; }
.paginationControl strong { border-color:#369; background:#369; color:#FFF; }
.paginationControl .prev { padding:4px 6px 2px 20px!important; padding:4px 6px 0 20px; background:url(images/arrow_left.gif) no-repeat 9% 50%; font-family:simsun; }
.paginationControl .next { padding:4px 20px 2px 6px!important; padding:4px 20px 0 6px; background:url(images/arrow_right.gif) no-repeat 91% 50%; font-family:simsun; }
</style>
-->
<?php echo $this->headLink()->appendStylesheet($this->baseUrl().'/public/styles/paginationControl.css') ?>

<?php if ($this->pageCount): ?>
<div class="paginationControl">
<!-- Previous page link -->
	<?php if (isset($this->previous)): ?>
	   <a href="<?php echo $this->url(array('page'=>$this->previous)); ?>">上一页</a>
	<?php else: ?>
	   <span class="disabled">上一页</span>
	<?php endif; ?>

<!-- Numbered page links -->
	<?php foreach ($this->pagesInRange as $page): ?>
	  <?php if ($page != $this->current): ?>
		 <a href="<?php echo $this->url(array('page'=>$page)); ?>"><?= $page; ?></a>
	  <?php else: ?>
		<strong><?= $page; ?></strong>
	  <?php endif; ?>
	<?php endforeach; ?>

<!-- Next page link -->
	<?php if (isset($this->next)): ?>
	   <a href="<?php echo $this->url(array('page'=>$this->next)); ?>">下一页</a>
	<?php else: ?>
	   <span class="disabled">下一页</span>
	<?php endif; ?>
</div>
<?php endif; ?>